<template>
  <div class="maintenance-list-wrap">
    <!-- 多单位 -->
    <multiple-units-maintenance-list v-if="$store.state.userinfo.isMuilUnitUser === 1" :organizationIds="$store.state.userinfo.organizationIds"></multiple-units-maintenance-list>
    <!-- 单单位 -->
    <single-unit-maintenance-total-list v-else :organizationId="$store.state.userinfo.org.id"></single-unit-maintenance-total-list>
  </div>
</template>

<script>
import multipleUnitsMaintenanceList from './PageModel/MultipleUnitsMaintenanceList'
import singleUnitMaintenanceTotalList from './PageModel/SingleUnitMaintenanceTotalList'

export default {
  name:'MaintenanceList',
  components: {
    multipleUnitsMaintenanceList,
    singleUnitMaintenanceTotalList
  },
  data() {
    return {}
  },
  created() {},
  methods: {}
}
</script>
